rust: Support `make dist` -> cargo vendor
authorColin Walters <walters@verbum.org>
Sat, 4 Feb 2017 16:29:20 +0000 (11:29 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 7 Feb 2017 16:50:37 +0000 (16:50 +0000)
commit9169268c31df31cc09495e2a04c30cd251f22b5d
treed0a818aea3215e75d422ce4c2165f8e027326273
parent9c0af41710fc3800a3b02dd552b96890bf1d432f
rust: Support `make dist` -> cargo vendor

What we do here basically is set things up in a `dist-hook` so that our Rust
sources are vendored at `dist` time. This gives us a single tarball still, and
ideally should be transparent to downstream builders, as long as they have the
`cargo/rust` toolchain.

Closes: #669
Approved by: jlebon
Makefile-libostree.am
Makefile.am
rust/cargo-vendor-config [new file with mode: 0644]